package com.grz.springbootdemo.mapper;

import com.grz.springbootdemo.domain.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    int insert(User user);

    int delete(int id);

    int update(User user);

    User selectById(int id);

    List<User> selectList(User book);
}
